package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.ProfessionInfoDao;
import io.renren.modules.jxgk.entity.ProfessionInfoEntity;
import io.renren.modules.jxgk.service.ProfessionInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ProfessionInfoServiceImpl implements ProfessionInfoService{
    @Autowired
    ProfessionInfoDao professionInfoDao;
    public List<ProfessionInfoEntity> queryList(Map<String, Object> map){
        return professionInfoDao.queryList(map);
    }
    public int queryTotal(Map<String, Object> map){
        return  professionInfoDao.queryTotal(map);
    }
    public void deleteBatch(String[] termIds){
        professionInfoDao.deleteBatch(termIds);
    }
    public void save(ProfessionInfoEntity ste){
        professionInfoDao.save(ste);
    }
    public ProfessionInfoEntity queryObject(String index){
        return professionInfoDao.queryObject(index);
    }
    public void update(ProfessionInfoEntity ste){
        professionInfoDao.update(ste);
    }
}
